import pandas as pd

df = pd.read_excel(rf'D:\Desktop\mynewlearn\pandas.xlsx')

'''(3, 2) 说明3行2列'''
print(df.shape)

'''获取头'''
print(df.columns)

'''获取头部两条消息'''
print(df.head(2))

print('======================')

